//
//  Friend.m
//  QQ界面
//
//  Created by apple on 16/11/18.
//  Copyright © 2016年 LWB. All rights reserved.
//

#import "Friend.h"

@implementation Friend
//一个对象初始化方法
-(instancetype)initWithDict:(NSDictionary*)dict
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}
//一个类初始化方法
+(instancetype)friendWithDict:(NSDictionary*)dict
{
    return [[self alloc]initWithDict:dict];
}
@end
